Fix syntax of two programs (powint and binarysearch) and add powint-erroneous#71
Fix syntax of two programs (powint and binarysearch) and add powint-erroneous#71kostis merged 2 commits intokostis:masterfrom
Conversation
Use"=" instead of "==" for equality and moved "var temp is int" declaration to the beginning of the block. The program still contains a semantic error so I copied it to the dana/programs-erroneous directory.
|
Thanks for these fixes. However, I think it would be better to also fix the semantic error(s) of |
Adjusted the bAdded a missing comma in a procedure call, changed function calls to use () instead of :, specifed a fixed size for the local array variable declaration, and corrected the assignment operator from "=" to ":=".
|
Initially, I believed there was a semantic error when passing the local variable |
|
OK - thanks for looking into this and your contribution! I will merge the PR. |
|
Please also remove |
Use"=" instead of "==" for equality and moved "var temp is int" declaration to the beginning of the block. The program still contains a semantic error so I copied it to the dana/programs-erroneous directory.